package com.qinghong.demo;

import com.qinghong.demo.config.JavaConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class UserDemo2 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(JavaConfig.class);
        UserService2 userService = context.getBean(UserService2.class);
        userService.transfer3();
    }
}
